.class public Lnet/oauth/http/HttpMessage;
.super Ljava/lang/Object;
.source "HttpMessage.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lnet/oauth/http/HttpMessage$1;
    }
.end annotation


# static fields
.field public static final ACCEPT_ENCODING:Ljava/lang/String; = "Accept-Encoding"

.field private static final CHARSET:Ljava/util/regex/Pattern; = null

.field public static final CONTENT_ENCODING:Ljava/lang/String; = "Content-Encoding"

.field public static final CONTENT_LENGTH:Ljava/lang/String; = "Content-Length"

.field public static final CONTENT_TYPE:Ljava/lang/String; = "Content-Type"

.field public static final DEFAULT_CHARSET:Ljava/lang/String; = "ISO-8859-1"

.field public static final REQUEST:Ljava/lang/String; = "HTTP request"

.field public static final RESPONSE:Ljava/lang/String; = "HTTP response"

.field public static final STATUS_CODE:Ljava/lang/String; = "HTTP status"


# instance fields
.field protected body:Ljava/io/InputStream;

.field public final headers:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/util/Map$Entry",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;>;"
        }
    .end annotation
.end field

.field public method:Ljava/lang/String;

.field public url:Ljava/net/URL;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 218
    const-string v0, "; *charset *= *([^;\"]*|\"([^\"]|\\\\\")*\")(;|$)"

    invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    sput-object v0, Lnet/oauth/http/HttpMessage;->CHARSET:Ljava/util/regex/Pattern;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    .prologue
    const/4 v0, 0x0

    .line 45
    invoke-direct {p0, v0, v0}, Lnet/oauth/http/HttpMessage;-><init>(Ljava/lang/String;Ljava/net/URL;)V

    .line 46
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/net/URL;)V
    .locals 1
    .parameter "method"
    .parameter "url"

    .prologue
    .line 50
    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lnet/oauth/http/HttpMessage;-><init>(Ljava/lang/String;Ljava/net/URL;Ljava/io/InputStream;)V

    .line 51
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/net/URL;Ljava/io/InputStream;)V
    .locals 1
    .parameter "method"
    .parameter "url"
    .parameter "body"

    .prologue
    .line 54
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 62
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lnet/oauth/http/HttpMessage;->headers:Ljava/util/List;

    .line 63
    const/4 v0, 0x0

    iput-object v0, p0, Lnet/oauth/http/HttpMessage;->body:Ljava/io/InputStream;

    .line 55
    iput-object p1, p0, Lnet/oauth/http/HttpMessage;->method:Ljava/lang/String;

    .line 56
    iput-object p2, p0, Lnet/oauth/http/HttpMessage;->url:Ljava/net/URL;

    .line 57
    iput-object p3, p0, Lnet/oauth/http/HttpMessage;->body:Ljava/io/InputStream;

    .line 58
    return-void
.end method

.method private static equalsIgnoreCase(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 1
    .parameter "x"
    .parameter "y"

    .prologue
    .line 180
    if-nez p0, :cond_1

    .line 181
    if-nez p1, :cond_0

    const/4 v0, 0x1

    .line 183
    :goto_0
    return v0

    .line 181
    :cond_0
    const/4 v0, 0x0

    goto :goto_0

    .line 183
    :cond_1
    invoke-virtual {p0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    goto :goto_0
.end method

.method private static final getCharset(Ljava/lang/String;)Ljava/lang/String;
    .locals 6
    .parameter "mimeType"

    .prologue
    const/16 v5, 0x22

    const/4 v4, 0x1

    .line 188
    if-eqz p0, :cond_1

    .line 189
    sget-object v2, Lnet/oauth/http/HttpMessage;->CHARSET:Ljava/util/regex/Pattern;

    invoke-virtual {v2, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v1

    .line 190
    .local v1, m:Ljava/util/regex/Matcher;
    invoke-virtual {v1}, Ljava/util/regex/Matcher;->find()Z

    move-result v2

    if-eqz v2, :cond_1

    .line 191
    invoke-virtual {v1, v4}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;

    move-result-object v0

    .line 192
    .local v0, charset:Ljava/lang/String;
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    const/4 v3, 0x2

    if-lt v2, v3, :cond_0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C

    move-result v2

    if-ne v2, v5, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C

    move-result v2

    if-ne v2, v5, :cond_0

    .line 194
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v4, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    .line 195
    const-string v2, "\\\""

    const-string v3, "\""

    invoke-virtual {v0, v2, v3}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    .line 200
    .end local v0           #charset:Ljava/lang/String;
    .end local v1           #m:Ljava/util/regex/Matcher;
    :cond_0
    :goto_0
    return-object v0

    :cond_1
    const-string v0, "ISO-8859-1"

    goto :goto_0
.end method

.method public static newRequest(Lnet/oauth/OAuthMessage;Lnet/oauth/ParameterStyle;)Lnet/oauth/http/HttpMessage;
    .locals 13
    .parameter "from"
    .parameter "style"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 132
    const-string v9, "POST"

    iget-object v10, p0, Lnet/oauth/OAuthMessage;->method:Ljava/lang/String;

    invoke-virtual {v9, v10}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v4

    .line 133
    .local v4, isPost:Z
    invoke-virtual {p0}, Lnet/oauth/OAuthMessage;->getBodyAsStream()Ljava/io/InputStream;

    move-result-object v0

    .line 134
    .local v0, body:Ljava/io/InputStream;
    sget-object v9, Lnet/oauth/ParameterStyle;->BODY:Lnet/oauth/ParameterStyle;

    if-ne p1, v9, :cond_1

    if-eqz v4, :cond_0

    if-eqz v0, :cond_1

    .line 135
    :cond_0
    sget-object p1, Lnet/oauth/ParameterStyle;->QUERY_STRING:Lnet/oauth/ParameterStyle;

    .line 137
    :cond_1
    iget-object v8, p0, Lnet/oauth/OAuthMessage;->URL:Ljava/lang/String;

    .line 138
    .local v8, url:Ljava/lang/String;
    new-instance v2, Ljava/util/ArrayList;

    invoke-virtual {p0}, Lnet/oauth/OAuthMessage;->getHeaders()Ljava/util/List;

    move-result-object v9

    invoke-direct {v2, v9}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    .line 139
    .local v2, headers:Ljava/util/List;,"Ljava/util/List<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;"
    sget-object v9, Lnet/oauth/http/HttpMessage$1;->$SwitchMap$net$oauth$ParameterStyle:[I

    invoke-virtual {p1}, Lnet/oauth/ParameterStyle;->ordinal()I

    move-result v10

    aget v9, v9, v10

    packed-switch v9, :pswitch_data_0

    .line 173
    :cond_2
    :goto_0
    new-instance v3, Lnet/oauth/http/HttpMessage;

    iget-object v9, p0, Lnet/oauth/OAuthMessage;->method:Ljava/lang/String;

    new-instance v10, Ljava/net/URL;

    invoke-direct {v10, v8}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    invoke-direct {v3, v9, v10, v0}, Lnet/oauth/http/HttpMessage;-><init>(Ljava/lang/String;Ljava/net/URL;Ljava/io/InputStream;)V

    .line 174
    .local v3, httpRequest:Lnet/oauth/http/HttpMessage;
    iget-object v9, v3, Lnet/oauth/http/HttpMessage;->headers:Ljava/util/List;

    invoke-interface {v9, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 175
    return-object v3

    .line 141
    .end local v3           #httpRequest:Lnet/oauth/http/HttpMessage;
    :pswitch_0
    invoke-virtual {p0}, Lnet/oauth/OAuthMessage;->getParameters()Ljava/util/List;

    move-result-object v9

    invoke-static {v8, v9}, Lnet/oauth/OAuth;->addParameters(Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v8

    .line 142
    goto :goto_0

    .line 144
    :pswitch_1
    invoke-virtual {p0}, Lnet/oauth/OAuthMessage;->getParameters()Ljava/util/List;

    move-result-object v9

    invoke-static {v9}, Lnet/oauth/OAuth;->formEncode(Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {p0}, Lnet/oauth/OAuthMessage;->getBodyEncoding()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B

    move-result-object v1

    .line 145
    .local v1, form:[B
    new-instance v9, Lnet/oauth/OAuth$Parameter;

    const-string v10, "Content-Type"

    const-string v11, "application/x-www-form-urlencoded"

    invoke-direct {v9, v10, v11}, Lnet/oauth/OAuth$Parameter;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v2, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 146
    new-instance v9, Lnet/oauth/OAuth$Parameter;

    const-string v10, "Content-Length"

    new-instance v11, Ljava/lang/StringBuilder;

    invoke-direct {v11}, Ljava/lang/StringBuilder;-><init>()V

    array-length v12, v1

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, ""

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v11

    invoke-direct {v9, v10, v11}, Lnet/oauth/OAuth$Parameter;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v2, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 147
    new-instance v0, Ljava/io/ByteArrayInputStream;

    .end local v0           #body:Ljava/io/InputStream;
    invoke-direct {v0, v1}, Ljava/io/ByteArrayInputStream;-><init>([B)V

    .line 148
    .restart local v0       #body:Ljava/io/InputStream;
    goto :goto_0

    .line 151
    .end local v1           #form:[B
    :pswitch_2
    new-instance v9, Lnet/oauth/OAuth$Parameter;

    const-string v10, "Authorization"

    const/4 v11, 0x0

    invoke-virtual {p0, v11}, Lnet/oauth/OAuthMessage;->getAuthorizationHeader(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    invoke-direct {v9, v10, v11}, Lnet/oauth/OAuth$Parameter;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v2, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 153
    invoke-virtual {p0}, Lnet/oauth/OAuthMessage;->getParameters()Ljava/util/List;

    move-result-object v5

    .line 154
    .local v5, others:Ljava/util/List;,"Ljava/util/List<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;"
    if-eqz v5, :cond_2

    invoke-interface {v5}, Ljava/util/List;->isEmpty()Z

    move-result v9

    if-nez v9, :cond_2

    .line 155
    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6, v5}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    .line 156
    .end local v5           #others:Ljava/util/List;,"Ljava/util/List<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;"
    .local v6, others:Ljava/util/List;,"Ljava/util/List<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;"
    invoke-interface {v6}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v7

    .local v7, p:Ljava/util/Iterator;,"Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;"
    :cond_3
    :goto_1
    invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_4

    .line 157
    invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Ljava/util/Map$Entry;

    invoke-interface {v9}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Ljava/lang/String;

    const-string v10, "oauth_"

    invoke-virtual {v9, v10}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v9

    if-eqz v9, :cond_3

    .line 158
    invoke-interface {v7}, Ljava/util/Iterator;->remove()V

    goto :goto_1

    .line 162
    :cond_4
    if-eqz v4, :cond_5

    if-nez v0, :cond_5

    .line 163
    invoke-static {v6}, Lnet/oauth/OAuth;->formEncode(Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {p0}, Lnet/oauth/OAuthMessage;->getBodyEncoding()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B

    move-result-object v1

    .line 164
    .restart local v1       #form:[B
    new-instance v9, Lnet/oauth/OAuth$Parameter;

    const-string v10, "Content-Type"

    const-string v11, "application/x-www-form-urlencoded"

    invoke-direct {v9, v10, v11}, Lnet/oauth/OAuth$Parameter;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v2, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 165
    new-instance v9, Lnet/oauth/OAuth$Parameter;

    const-string v10, "Content-Length"

    new-instance v11, Ljava/lang/StringBuilder;

    invoke-direct {v11}, Ljava/lang/StringBuilder;-><init>()V

    array-length v12, v1

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, ""

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v11

    invoke-direct {v9, v10, v11}, Lnet/oauth/OAuth$Parameter;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v2, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 166
    new-instance v0, Ljava/io/ByteArrayInputStream;

    .end local v0           #body:Ljava/io/InputStream;
    invoke-direct {v0, v1}, Ljava/io/ByteArrayInputStream;-><init>([B)V

    .line 167
    .restart local v0       #body:Ljava/io/InputStream;
    goto/16 :goto_0

    .line 168
    .end local v1           #form:[B
    :cond_5
    invoke-static {v8, v6}, Lnet/oauth/OAuth;->addParameters(Ljava/lang/String;Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v8

    goto/16 :goto_0

    .line 139
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method


# virtual methods
.method public dump(Ljava/util/Map;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 123
    .local p1, into:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    return-void
.end method

.method public final getBody()Ljava/io/InputStream;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 106
    iget-object v1, p0, Lnet/oauth/http/HttpMessage;->body:Ljava/io/InputStream;

    if-nez v1, :cond_0

    .line 107
    invoke-virtual {p0}, Lnet/oauth/http/HttpMessage;->openBody()Ljava/io/InputStream;

    move-result-object v0

    .line 108
    .local v0, raw:Ljava/io/InputStream;
    if-eqz v0, :cond_0

    .line 109
    new-instance v1, Lnet/oauth/client/ExcerptInputStream;

    invoke-direct {v1, v0}, Lnet/oauth/client/ExcerptInputStream;-><init>(Ljava/io/InputStream;)V

    iput-object v1, p0, Lnet/oauth/http/HttpMessage;->body:Ljava/io/InputStream;

    .line 112
    .end local v0           #raw:Ljava/io/InputStream;
    :cond_0
    iget-object v1, p0, Lnet/oauth/http/HttpMessage;->body:Ljava/io/InputStream;

    return-object v1
.end method

.method public final getContentCharset()Ljava/lang/String;
    .locals 1

    .prologue
    .line 101
    const-string v0, "Content-Type"

    invoke-virtual {p0, v0}, Lnet/oauth/http/HttpMessage;->getHeader(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lnet/oauth/http/HttpMessage;->getCharset(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public final getHeader(Ljava/lang/String;)Ljava/lang/String;
    .locals 4
    .parameter "name"

    .prologue
    .line 71
    const/4 v2, 0x0

    .line 72
    .local v2, value:Ljava/lang/String;
    iget-object v3, p0, Lnet/oauth/http/HttpMessage;->headers:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .local v1, i$:Ljava/util/Iterator;
    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    .line 73
    .local v0, header:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;"
    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {p1, v3}, Lnet/oauth/http/HttpMessage;->equalsIgnoreCase(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 74
    invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v2

    .end local v2           #value:Ljava/lang/String;
    check-cast v2, Ljava/lang/String;

    .restart local v2       #value:Ljava/lang/String;
    goto :goto_0

    .line 77
    .end local v0           #header:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;"
    :cond_1
    return-object v2
.end method

.method protected openBody()Ljava/io/InputStream;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    .line 117
    const/4 v0, 0x0

    return-object v0
.end method

.method public removeHeaders(Ljava/lang/String;)Ljava/lang/String;
    .locals 4
    .parameter "name"

    .prologue
    .line 88
    const/4 v2, 0x0

    .line 89
    .local v2, value:Ljava/lang/String;
    iget-object v3, p0, Lnet/oauth/http/HttpMessage;->headers:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .local v1, i:Ljava/util/Iterator;,"Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;>;"
    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1

    .line 90
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    .line 91
    .local v0, header:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;"
    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {p1, v3}, Lnet/oauth/http/HttpMessage;->equalsIgnoreCase(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 92
    invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v2

    .end local v2           #value:Ljava/lang/String;
    check-cast v2, Ljava/lang/String;

    .line 93
    .restart local v2       #value:Ljava/lang/String;
    invoke-interface {v1}, Ljava/util/Iterator;->remove()V

    goto :goto_0

    .line 96
    .end local v0           #header:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;"
    :cond_1
    return-object v2
.end method
